Skip to content

platform: zephyr: add fs.h include#4906

Open
martinjaeger wants to merge 1 commit intobytecodealliance:mainfrom
martinjaeger:zephyr-fs-includes
Open

platform: zephyr: add fs.h include#4906
martinjaeger wants to merge 1 commit intobytecodealliance:mainfrom
martinjaeger:zephyr-fs-includes

Conversation

@martinjaeger
Copy link
Copy Markdown

Required for definition of struct fs_file_t and struct fs_dir_t.

Without this fix I get the following build error (when building for Zephyr):

.../wasm-micro-runtime/core/shared/platform/zephyr/platform_internal.h:269:26: error: field 'file' has incomplete type
  269 |         struct fs_file_t file;
      |                          ^~~~
.../wasm-micro-runtime/core/shared/platform/zephyr/platform_internal.h:270:25: error: field 'dir' has incomplete type
  270 |         struct fs_dir_t dir;

Required for definition of struct fs_file_t and struct fs_dir_t.

Signed-off-by: Martin Jäger <martin@libre.solar>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant